/*
 Navicat Premium Data Transfer

 Source Server         : localhost
 Source Server Type    : MySQL
 Source Server Version : 50624
 Source Host           : localhost
 Source Database       : jspz

 Target Server Type    : MySQL
 Target Server Version : 50624
 File Encoding         : utf-8

 Date: 09/19/2016 12:29:27 PM
*/

SET NAMES utf8;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
--  Table structure for `product_type`
-- ----------------------------
DROP TABLE IF EXISTS `product_type`;
CREATE TABLE `product_type` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `create_at` datetime DEFAULT NULL,
  `update_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;

-- ----------------------------
--  Records of `product_type`
-- ----------------------------
BEGIN;
INSERT INTO `product_type` VALUES ('1', '融资租赁', '2016-09-19 00:41:23', null), ('2', '商业保理', '2016-09-19 00:41:37', null), ('3', '金融信息服务', '2016-09-19 00:42:06', null), ('4', '资产管理', '2016-09-19 00:42:23', null), ('5', '担保', '2016-09-19 00:42:37', null), ('6', '小额贷款', '2016-09-19 00:42:47', null), ('7', '典当', '2016-09-19 00:43:01', null);
COMMIT;

-- ----------------------------
--  Table structure for `users`
-- ----------------------------
DROP TABLE IF EXISTS `users`;
CREATE TABLE `users` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(200) NOT NULL,
  `mail` varchar(200) DEFAULT NULL,
  `password` varchar(200) DEFAULT NULL,
  `phone` varchar(20) DEFAULT NULL,
  `create_at` datetime DEFAULT NULL,
  `update_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
--  Table structure for `waiter`
-- ----------------------------
DROP TABLE IF EXISTS `waiter`;
CREATE TABLE `waiter` (
  `id` int(11) NOT NULL,
  `name` varchar(100) NOT NULL,
  `firm` varchar(200) DEFAULT NULL,
  `price` float DEFAULT NULL,
  `area_id` int(11) DEFAULT NULL,
  `area` varchar(100) DEFAULT NULL,
  `pic` varchar(200) DEFAULT NULL,
  `work_age` int(11) DEFAULT NULL,
  `create_at` varchar(255) DEFAULT NULL,
  `update_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

SET FOREIGN_KEY_CHECKS = 1;
